sound object
This method will move the playing cursor in the sound to a new position.
bool seek(double new_position)
Parameters:
new_position
The position to seek to, specified in milliseconds. 0 indicates the beginning of the file.
Return value:
true on success, false on failure.
Remarks:
Seeking currently only works on static sounds, not streaming ones.
Example:
//Start playing a sound at the 1 second mark.
void main()
{
sound test;
test.load("curry.ogg");
test.seek(1000);
test.play_wait();
}